// 2013-7-29下午04:22:28  net.betou.trade.entity.main.Notice.java

package net.betou.trade.entity.main;

import java.util.Date;

import org.apache.commons.lang.StringUtils;

import net.betou.trade.entity.main.base.BaseNotice;

/**
 * 公告
 * @author 叶装装
 */
public class Notice extends BaseNotice{
	
	private static final long serialVersionUID = -7196944072743130974L;

	private Boolean immediately; // 是否立即发送短信
	
	public Notice( ){}
	
	public void init( ){
		this.setAddDate( new Date( ) );
		// 设置短信内容
		if( StringUtils.isBlank( getSmsContent( ) ) ){
			setSmsContent( null );
		}
	}

	public Boolean getImmediately( ) {
		return immediately;
	}

	public void setImmediately( Boolean immediately ) {
		this.immediately = immediately;
	}
	
	
}
